package com.ileaf.proxy;

/**
 * @author Lianlb
 * @date 2019-04-18 10:58
 */
public class PeopleImpl implements IHello, IStudy {

    @Override
    public void sayHello(String name) {
        System.out.println("Hello " + name);
    }

    @Override
    public void sayGoodBye(String name) {
        System.out.println("GoodBy " + name);
    }

    @Override
    public void studyEnglish(String name) {
        System.out.println(name + "正在学习英语！");
    }

    @Override
    public void studyMath(String name) {
        System.out.println(name + "正在学习数学！");
    }
}
